package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微信用户业务对象 dy_client
 *
 * @author ruoyi
 * @date 2024-08-02
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DyClientBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户名称
     */
    @NotBlank(message = "用户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String realName;

    /**
     * 用户手机号
     */
    @NotBlank(message = "用户手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * open_id
     */
    @NotBlank(message = "open_id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String openId;

    /**
     * 用户头像
     */
    @NotBlank(message = "用户头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imgUrl;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String des;

    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String pwd;


}
